<template>
  <div class="number-select" v-if="!getIsPhone">
    <play-instruction :instruction="instruction"></play-instruction>
    <div class="select-row" v-for="item in getCurrentLotteryState" :key="item.id">
      <lottery-dice-selector
        @click="handleUpdateData" 
        :item="item">
      </lottery-dice-selector>
    </div>
  </div>
  <div class="number-select-phone" v-else>
    <lottery-dice-selector-phone
      v-for="item in getCurrentLotteryState" 
      :key="item.id"
      @click="handleUpdateData" 
      :item="item">
    </lottery-dice-selector-phone>
  </div>
</template>

<script>
import LotteryDiceSelector from '@/components/lottery-type/common/lottery-dice-selector'
import LotteryDiceSelectorPhone from '@/components/lottery-type/common/lottery-dice-selector-phone'
import PlayInstruction from '@/components/play-instruction/play-instruction'
import { boxWithCleanerMixin } from '@/assets/js/mixin.js'
export default {
  mixins: [boxWithCleanerMixin],
  components: {
    LotteryDiceSelector,
    LotteryDiceSelectorPhone,
    PlayInstruction
  },
  data() {
    return {
      instruction: '标准',
      activeIndex: -1,
    }
  },
  methods: {
   
  },
  computed: {
    
  }
}
</script>

<style lang="stylus" scoped>
@import '~@/assets/styles/variables.styl'
     
</style>